import Mock from "mockjs";
Mock.setup({
  timeout: 3000,
});

Mock.mock("/api/v1/people", {
  people: [
    {
      id: 0,
      user_name: "张　雷",
    },
    {
      id: 1,
      user_name: "许旭龙",
    },
    {
      id: 2,
      user_name: "赵洋洋",
    },
    {
      id: 3,
      user_name: "马春雷",
    },
    {
      id: 4,
      user_name: "简兴旺",
    },
    {
      id: 5,
      user_name: "王永辉",
    },
  ],
  restaurant: [
    {
      id: 0,
      shop_name: "德克士",
      image: "./../images/shop-03.jpg",
      menu: [
        {
          id: 0,
          meal: "超级鸡腿堡",
          price: "15.50",
        },
        {
          id: 1,
          meal: "双鸡堡",
          price: "12.50",
        },
        {
          id: 2,
          meal: "香辣鸡翅",
          price: "9.50",
        },
      ],
    },
    {
      id: 1,
      shop_name: "肯德基",
      image: "./../images/shop-02.jpg",
      menu: [
        {
          id: 0,
          meal: "BBQ手撕猪肉堡",
          price: "17.50",
        },
        {
          id: 1,
          meal: "老北京鸡肉卷",
          price: "10.50",
        },
        {
          id: 2,
          meal: "伴鸡伴虾堡",
          price: "13.50",
        },
      ],
    },
    {
      id: 2,
      shop_name: "必胜客",
      image: "./../images/shop-04.jpg",
      menu: [
        {
          id: 0,
          meal: "澳洲西冷牛排",
          price: "38.50",
        },
        {
          id: 1,
          meal: "美式经典土豆沙拉",
          price: "18.50",
        },
        {
          id: 2,
          meal: "超级至尊芝心披上",
          price: "23.50",
        },
      ],
    },
    {
      id: 3,
      shop_name: "李先生",
      image: "./../images/shop-01.jpg",
      menu: [
        {
          id: 0,
          meal: "阿娟凉面",
          price: "8.50",
        },
        {
          id: 1,
          meal: "红烧猪肉饭",
          price: "14.50",
        },
        {
          id: 2,
          meal: "邱君扣肉套餐",
          price: "33.50",
        },
      ],
    },
  ],
});
